import { Body, Post, Controller } from '@nestjs/common';
import { ApiResult } from '../../decorators/api-result.decorator';
import { LoginToken } from './models/auth.model';
@Controller('auth')
export class AuthController {
  @Post('login')
  @ApiResult({ type: LoginToken })
  async login(@Body() dto: any) {
    return dto;
  }
}
